﻿@{
    ViewBag.Title = "TX管理";
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}

@section scripts
{
    <script type="text/javascript">
 
        $(document).ready(function () {
            $('#start').datepicker({ dateFormat: 'yy/mm/dd' });
            $('#end').datepicker({ dateFormat: 'yy/mm/dd' });
        });
    </script>
}

@using C.Mvc
@using (Html.BeginForm("CashIndex", "User", FormMethod.Get)) // 可以复制 Url，方便其它用户查询
{
    <div id="button">
        @Html.TextBox("loginName")
        @Html.TextBox("start")
        @Html.TextBox("end")
        @Html.DropDownList("cashType", ViewBag.CashTypeList as IEnumerable<SelectListItem>, "全部")
   
        <input type="submit" value="查询" />
    </div>
    
    <div style="align">
        @Html.ValidationSummary(true)
    </div>
}

<div id="@Gfw.Web.Common.ViewHelper.AjaxContainer">
    @{Html.RenderAction("CashList", "User", new { userID = ViewBag.UserID, cashType = ViewBag.CashType ?? "审核中" });} @*其它参数会自动匹配传值*@
</div>
